package com.example.administrator.myapplication.data;

import java.util.ArrayList;

/*
 * MusicList类，采用单一实例
 * ֻ只能通过getMusicList方法获取
 * 共享，唯一的rrayList<Music>对象
 * */
public class MusicList {

    private static ArrayList<com.example.administrator.myapplication.data.Music> musicarray = new ArrayList<com.example.administrator.myapplication.data.Music>();
    private MusicList(){}

    public static ArrayList<com.example.administrator.myapplication.data.Music> getMusicList()
    {
        return musicarray;
    }
}
